from jockey.handlers import Handler, KernelModuleHandler
def _(x):
return x
class MadwifiHandler(KernelModuleHandler):
'''Handler for the Madwifi driver.
The free ath5k driver should work with most Atheros cards nowadays, but on
some models madwifi still works better (or at all). This driver (ath_pci)
should be disabled by default by blacklisting it in self.blacklist_file.
'''
def __init__(self, ui):
KernelModuleHandler.__init__(self, ui, 'ath_pci', name = _('Alternate Atheros "madwifi" driver'), description = _('Alternate "madwifi" driver for Atheros wireless LAN cards.'), rationale = _('Only activate this driver if you have problems with your wireless LAN connection.\n\nThe free "ath5k" driver should work with most Atheros cards nowadays, but on some computers this alternate (but proprietary) driver still works better, or at all.'))